<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MAIL->Html()</title>
<style>
body, pre {
	font-family: Verdana;
	font-size: 10pt;
}
a {	color: blue; text-decoration: none }
a:hover { text-decoration: underline }
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<pre>
<hr color="white">
MAIL -> <i>boolean</i> <b>html</b> ( <i>string</i> content [, <i>string</i> charset [, <i>string</i> encoding ]] )
<hr>
Return TRUE if has been successfully set, FALSE if not.

Default values are:
<i>string</i> charset: us-ascii
<i>string</i> encoding: quoted-printable

<i>string</i> encoding possible values are: binary, 7bit, 8bit, quoted-printable or base64

Example (verification):
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$m = new MAIL;

// set text/html mail body message
$m->Html('&lt;b&gt;text/html &lt;i&gt;message&lt;/i&gt;&lt;/b&gt;');
</code></pre>
</td></tr>
</table>

Example (deprecated):
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$m = new MAIL;

$m->Html = array(
'content'  => '&lt;b&gt;text/html &lt;i&gt;message&lt;/i&gt;&lt;/b&gt;', // required
'charset'  => 'utf-8', // optional
'encoding' => 'base64' // optional
);
</code></pre>
</td></tr>
</table>

<hr color="white">

See Also: <a href="text.html">MAIL->Text()</a>

[ <a href="mail&#116;&#111;:contact&#064;xpertmailer.com?subject=Comment MAIL Html">Comments</a> ]

Last update: Saturday, June 16, 2007

<hr>
</pre>

</body>
</html>